/*
 * Copyright (c) 2019.  drakelee.base All rights reserved.
 */

package com.base.components.task.service;

import org.quartz.impl.JobDetailImpl;

/**
 * 调度任务明细
 *
 * @author <a href="drakelee1221@gmail.com">LiGeng</a>
 * @version 1.0.0, 2017-08-03 15:02
 *
 */
public class DynamicJobDetail extends JobDetailImpl {

    @Override
    public boolean isConcurrentExectionDisallowed() {
        //指明同一作业只会在上一次周期时间触发调用完成后，
        //才会继续触发下一个周期时间的触发调用
        return true;
    }
}
